<template>
	<view class='tab4'>
		<head-view ref='head'></head-view>
		<order-view></order-view>
		<often-view></often-view>
		<list-view></list-view>
	</view>
</template>

<script>
import headView from './view/head.vue'
import orderView from './view/order.vue'
import oftenView from './view/often.vue'
import listView from './view/list.vue'
export default {
	components:{
		headView,
		orderView,
		oftenView,
		listView
	},
	onShareAppMessage(res){
		if (res.from === 'menu') {
			return {
				title: '大地智慧点餐服务',
				imageUrl: 'https://qr.api.cli.im/newqr/create?data=http%3A%2F%2Fqr61.cn%2FoCi1UM%2FqRXbslQ&level=H&transparent=0&bgcolor=%23FFFFFF&forecolor=%2F%2Fstatic.clewm.net%2Fcli%2Fimages%2Fbeautify%2Fnew%2Fforecolor%2F17.png&blockpixel=12&marginblock=2&logourl=https%3A%2F%2Fncstatic.clewm.net%2Frsrc%2F2021%2F0605%2F11%2Fe429f0bebaeae4501cf2831b0ee3a2b7.png&size=400&logoshape=ellipse&embed_text_fontfamily=simhei.ttc&eye_use_fore=1&background=images%2Fbackground%2Fbg5.png&wper=0.7&hper=0.7&tper=0.15&lper=0.15&qrcode_eyes=&outcolor=&incolor=&body_type=0&qr_rotate=0&text=&fontfamily=msyh.ttf&fontsize=30&fontcolor=&logo_pos=0&kid=bizcliim&time=1622862772&key=9cf01dd8dd6b5ab282e11c51356af0c7'
			}
		}
	},
}
</script>

<style lang='scss'>
.tab4{
	width: 100%;
	height: 100vh;
	box-sizing: border-box;
	padding-top: 20rpx;
	background-image: linear-gradient(to right bottom,#FFFFFF,#F0F8FF);
}
</style>
